<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="./other.html">other page</a>
    <script>
        // 存储空间从何而来？
        // Proxy
        // window -> browser -> cookie 文件, 大小限制为4kb
        // localstorage MB
        // DOM + BOM = JS前端
        // .html text/html
        // DOM document  object(createlement) Model(img src span)
        // BOM Brower(window) Object Model
        window.localStorage.setItem('happiness','开大车');

        // 会话
        window.sessionStorage.setItem('dewu','都')
    </script>
</body>
</html>